Just a note, obviously it won't help much at this stage, but certainly don't take it as an attack. I'm sure that was not the intention of @madmodder123 either, and I can imagine how frustrating it may be.
This last weekend not only was I backing things up to my laptop, but also to two separate external drives, and then even to Google Drive, just because if I do have to do it all over again - curating the games, artwork, media, settings, etc - I can imagine I'll lose motivation somewhat.
So, while I'm not going to repeat the suggestion for backing things up often, I can suggest for future setups to have your ROMs in an external USB thumb drive. At least for me it's been extremely helpful as if the SD card gets bricked because of an update, even though it's somewhat painful to have to reconfigure it all, it's nothing compared to having to recover your games, artwork, media, savegames, highscores, etc.
That might help you somewhat for the future.
Still, the warning is important. Wondering if it's kernel related or other packages - likely kernel but I'm not a Linux expert here.